Closed Bug 1753646 Opened 3 years ago Closed 2 years ago

[CA][newegg.ca] The autofill dropdown is not triggered and the autofill functionality is not working for multiple fields

Categories

(Toolkit :: Form Autofill, defect, P3)

Desktop
All
defect

Tracking

()

RESOLVED WONTFIX
Tracking Status
firefox96 --- affected
firefox97 --- affected
firefox98 --- affected

People

(Reporter: ailea, Unassigned)

References

(Blocks 2 open bugs, )

Details

(Whiteboard: [fxcm-addr-compatibility])

Attachments

(1 file)

Attached video 2022-02-03_14h03_10.mp4

Affected Versions:

Nightly 98.a1, Beta 97 and Release 96

Tested on:

MacOS 11
Windows 10

Preconditions:

browser.search.region CA
extensions.formautofill.addresses.enabled - true
extensions.formautofill.supportedCountries US,CA
download latest Firefox Nightly with region locale
have a complete address already saved in about:preferences#privacy

Steps to reproduce:

  1. Reach the address form on newegg.ca
  2. Using the autofill feature, select any saved address entry.
  3. Click in the address/city fields.
  4. Click on any auto-filled field and choose to "Clear Form".

Expected Results:

  1. All the fields should be successfully autofilled.
  2. The address autofill dropdown should be displayed for all fields.
  3. The address autofill eligible fields should be previewed as filled in upon hovering over a CC entry from the dropdown.
  4. The clear form option should clear/reset the Province dropdown value. In Chrome, the value is reset to the first value of the dropdown(Alberta) upon clear form.

Actual Results:

  1. The address and city fields are not autofilled.
  2. The address autofill dropdown is not displayed for address and city fields.
  3. The Province field (dropdown) is not correctly previewed upon hovering over a CC entry from the dropdown.
  4. The clear form option doesn't clear/reset the Province dropdown value. In Chrome, the value is reset to the first value of the dropdown(Alberta) upon clear form.

Notes:

Reproducible on Chrome: Yes.
Please let me know if separate bugs are needed for the issues above.

Priority: -- → P3

Alright so we don't autofill the street address because its autocomplete attribute is "new-password". We also don't show an address clear form or autocomplete dropdown on street address because of that "new-password" attribute. They're using background rules that overwrite our autofill styling. The "City" field has an explicit autocomplete="off" which is why we don't preview/fill there. The Province doesn't reset to Alberta because there's an "onChange" React handler on the website that doesn't fire. I suspect this is because we don't send a change event when resetting a select element.

Depends on: 1754879
Whiteboard: [fxcm-addr-compatibility]

As mentioned in Comment 1 we don't fill street-address because autocomplete=new-password, which is expected.

Actual Results:
The address and city fields are not autofilled.
The address autofill dropdown is not displayed for address and city fields.

The city field is now autofilled

The Province field (dropdown) is not correctly previewed upon hovering over a CC entry from the dropdown.

This issue remains the same.

The clear form option doesn't clear/reset the Province dropdown value. In Chrome, the value is reset to the first value of the dropdown(Alberta) upon clear form.

This is fixed

HI alin, could you help verify whether the only issue we have for this site is not showing preview for "Province" field? (Assume not autofilling "address" field is expected), thank you!

Flags: needinfo?(ailea)

I just verified all the scenarios described above and the Province field (dropdown) which is not previewed is the only issue that is still reproducible. Verified in Nightly 114.0a1 (2023-04-26).
Thanks!

Flags: needinfo?(ailea)

thank you!
So from comment 1, the reason we don't show preview for province field is because:

They're using background rules that overwrite our autofill styling

And given that Chrome also has the same issue, I'll close this bug as WON'T FIX

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: